#{extends 'relationsHome.html' /} #{set title:'Relation' /} #{set 'moreStyles'}
<link rel="stylesheet" href="@{'/public/stylesheets/forms.css'}">
<link rel="stylesheet" href="@{'/public/stylesheets/css3buttons.css'}"
	media="screen">
#{/set} 
<br/>
<br/>

<div id=left>



<h2 align="left"> All relation names </h2>
<h4 align="left"> ${message} </h4>

#{if action.size() > 0 } #{list items:action, as:'act'}

<form action="@{RelationRequests.confirmRequest(act.id)}" method="POST">
	<p>
		<b>Relation Name Request</b>
	</p>
	<hr>
	${act.message} <br> </br> <input type="submit" value="Confirm">
</form>
<form action="@{RelationRequests.rejectRequest(act.id)}" method="POST">
	<input type="submit" value="Reject">

</form>

<br />

#{/list} #{/if} #{else} No Relation Requests #{/else}
</div>
